package com.fuyq.spring04.beans;

import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class Klass {
    List<Student1> students;

    public List<Student1> getStudents() {
        return students;
    }

    public void setStudents(List<Student1> students) {
        this.students = students;
    }

    public void dong(){
        System.out.println(this.getStudents());
    }
}
